All Questions
Tagged with linear-regressionprediction
16 questions
7votes
1answer
284views
When the regression models outperforms naive method?
I followed from this question. Case1: I have the following task to do: Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which has dimension 24x25. ...
0votes
1answer
37views
Multivariate linear regression via scikit and statsmodels
want to preface this first with terminology: multivariate regression deals with the case where there are more than one dependent variables while multiple regression deals with the case where there is ...
0votes
1answer
141views
Testing RANSAC regression model
I am going to build the model (e.g. multiple linear regression) to predict the appartment cost in my city. First I have to find outliers in training data. For this task RANSAC regression algorithm ...
1vote
1answer
2kviews
Linear regression returning negative values for house price prediction
I am trying to do a prediction of real estate (prices are in millions). The mean price for the dataset is 4 million. I do not have any negative values in my dataset,...
1vote
1answer
88views
How to fill missing values in a discrete column in sales predictions for a drug supply chain company
I have been working on a dataset that has data from a famous drug supply chain company. The first few records of the dataset look like the following; Another data accompanies this (primary) dataset. ...
0votes
0answers
143views
What correlation is considered to be big for linear regression predictors?
It is well known that if two linear regression predictors highly correlate, it is bad for our model, but which correlation is considered to be big? Is it 0.5,0.6,0.8,0.9..? I have tried to find out ...
1vote
2answers
37views
Multiple Linear Regression for House Price Prediction score is 0.28 [closed]
I am trying to make predictions using this dataset What I have done so far: Dropped the Administrative column Encoded the categorical data using ...
0votes
2answers
299views
Predicting the likelihood that a prediction from a linear regression model is accurate
So to set up the problem: I have a data set that had labeled data like colour, brand and quality as independent variables and the dependent is RRP (price). I have made a linear regression model using ...
0votes
1answer
418views
How to use a multiple linear regression model built from normalized data
I built a linear multivariable regression model from normalized data (for the interval [0; 1]). Initially, the data was not normalized, I normalized the data by myself (independent and dependent ...
0votes
2answers
161views
I am getting very minimal mse values and not sure if it is correct?
Below is the linear regression model I fitted and not sure if I am doing the right way as I am getting neat to 99% accuracy Fitting Simple Linear Regression to the Training set ...
0votes
1answer
985views
Include time as a variable in regression model
I am currently working on a regression problem which requires me to predict the costs of a fixed asset. I have used several variables to do so and derived a predicted cost. However, my superior has ...
0votes
2answers
104views
Linear regression incorrect prediction using Matlab
In the plot below the red crossed line is the actual curve and the crossed blue line is the predicted curve. I am using least squares for linear prediction. I have used 1:79 examples in training and ...
1vote
1answer
318views
How Dummy Variables Should Be Modeled In A Linear Regression Model?
I've a cross sectional model where I want predict number of users that take specific service, to make it I've many variables but have specifically two nominal: isWorkday(0 or 1) and weeday(1,2,3,...,7)...
0votes
1answer
6kviews
Feature Normalization/Scaling: Prediction Step
I'm just doing a simple linear regression with gradient descent in the multivariate case. Feature normalization/scaling is a standard pre-processing step in this situation, so I take my original ...
3votes
2answers
10kviews
Sales prediction of an Item
So, I've been trying to implement my first algorithm to predict the (sales/month) of a single product, I've been using linear regression since that was what were recommended to me. I'm using data ...